package com.guigu.base.feign;

import com.guigu.base.entity.vo.TransportOrderDashboardVO;
import com.guigu.base.entity.vo.TruckStatusDashboardVO;
import com.guigu.tms.result.R;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

/**
 * @ClassName:WorkFeign
 * @Description://TODO
 * @Author:taoLong
 * @Date:2021/12/3:15:52 星期五
 * @email:2391611102@qq.com or 2391611102qq@gmail.com
 */
@FeignClient(value = "tms-work")
public interface WorkFeign {


    /**
     * 获取车载状态数
     *
     * @return
     */
    @GetMapping("/task-transport/getTruckStatusCount")
    @ApiOperation("获取车载状态数")
    public R<TruckStatusDashboardVO> getTruckStatusCount();


    /**
     * 获取运单状态数量
     * @return
     */
    @GetMapping("/transport-order/getTransportOrderCount")
    @ApiOperation("获取运单状态数量")
    public R<TransportOrderDashboardVO> getTransportOrderCount();
}
